<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="“http://www.ultraq.net.nz/thymeleaf/layout”"
>
<head>
    <meta charset="UTF-8"/>
    <title>Thymeleaf in action</title>
</head>
<body>
dd
<div th:fragment="footer">
    <a href="https://www.baidu.com">这是页脚啊啊啊</a>
</div>
fdsafdas
</body>
</html>